package org.xiyinjihe.platform.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.xiyinjihe.platform.po.Sutra;
import org.xiyinjihe.platform.po.SutraExample;

public interface SutraMapper {
    long countByExample(SutraExample example);

    int deleteByExample(SutraExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Sutra record);

    int insertSelective(Sutra record);

    List<Sutra> selectByExample(SutraExample example);

    Sutra selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Sutra record, @Param("example") SutraExample example);

    int updateByExample(@Param("record") Sutra record, @Param("example") SutraExample example);

    int updateByPrimaryKeySelective(Sutra record);

    int updateByPrimaryKey(Sutra record);
}